﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Domain.Entity.User
{
    /// <summary>
    /// 权限表
    /// </summary>
    [Table("Permission")]
    public class Permission : Audit
    {
        /// <summary>
        /// 权限Id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// URL
        /// </summary>
        public string URL { get; set; }
        /// <summary>
        /// 父级Id
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        /// 权限按钮（JSON）
        /// </summary>
        public string ButtonJson { get; set; }



    }
}
